EDD\Database\Query D

Total Complexity 332
Dependencies 6
Dependents 0
Total lines 2,968
Lines of code 1,132
Logical lines of code 701
Comment lines 1,297
Methods 72
Properties 22

Methods 72

Method Rating Maintainability Complexity Lines of code
parse_where()
D
29
36 119
get_results()
B
37 22 65
add_item()
A
44 13 44
get_order_by()
A
45 12 41
validate_item()
A
51 10 25
get_item_by()
A
51 9 29
update_item()
A
46 8 41
reduce_item()
A
54 9 20
set_request_clauses()
A
49 8 32
set_found_items()
A
56 9 16
set_query_var_defaults()
A
44 7 44
update_item_cache()
A
53 8 24
get_items()
A
49 7 31
transition_item()
S
49 7 30
clean_item_cache()
S
55 7 20
save_extra_item_meta()
S
55 7 19
prime_item_caches()
S
52 6 23
get_item_ids()
S
46 5 37
get_item_raw()
S
57 6 16
parse_fields()
S
57 6 16
shape_item_id()
S
61 6 12
delete_item()
S
53 5 24
delete_all_item_meta()
S
54 5 22
get_item_fields()
S
55 5 19
parse_groupby()
S
56 5 18
shape_items()
S
58 5 15
parse_orderby()
S
55 4 17
get_cache_groups()
S
58 4 15
get_non_cached_ids()
S
61 4 13
shape_item()
S
62 4 12
delete_item_meta()
S
62 4 11
get_item_meta()
S
62 4 11
update_item_meta()
S
62 4 11
parse_order()
S
67 4 8
add_item_meta()
S
63 4 10
cache_delete()
S
64 3 11
cache_add()
S
64 3 10
set_columns()
S
66 3 9
get_search_sql()
S
61 3 10
cache_set()
S
64 3 10
get_cache_group()
S
67 3 8
set_item_shape()
S
72 3 5
get_columns()
S
69 2 6
get_meta_table_name()
S
65 2 9
set_alias()
S
74 2 5
update_last_changed_cache()
S
69 2 7
cache_get()
S
69 2 7
get_last_changed_cache()
S
68 2 7
__construct()
S
65 2 10
get_column_by()
S
70 2 6
get_item()
S
67 2 8
set_items()
S
65 2 9
get_column_field()
S
70 2 6
default_item()
S
65 2 9
get_primary_column_name()
S
78 1 3
parse_query()
S
66 1 8
get_column_names()
S
78 1 3
get_table_name()
S
80 1 3
query()
S
77 1 4
get_current_time()
S
80 1 3
set_last_changed()
S
80 1 3
get_date_query()
S
79 1 3
set_prefix()
S
73 1 5
get_compare_query()
S
79 1 3
get_cache_key()
S
67 1 7
get_meta_type()
S
80 1 3
get_meta_query()
S
79 1 3
is_query_var_default()
S
78 1 3
filter_item()
S
77 1 3
get_registered_meta_keys()
S
75 1 4
set_query_var()
S
76 1 4
set_request()
S
72 1 5